<%@ page contentType="text/html;charset=UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
	<head>
	</head>
	<form id="saveForm" method="post" action="${pageContext.request.contextPath}/purchaserequest/save.htm">
	<body>
			<%--
				<input type="hidden" name="r_id" id="r_id" value="${obj.r_id}"/>
				--%>
		<table class="table_all" align="center" border="0" cellpadding="0" cellspacing="0">
		    	<tr>
				<td>
					<span>申请单编号：</span>
				</td>
				<td>
					<input name="r_no" id="r_no" value="${Purchaserequest.r_no}" />
				</td>
			</tr>
		    	<tr>
				<td>
					<span>物资编号：</span>
				</td>
				<td>
					<input name="material_id" id="material_id" value="${Purchaserequest.material_id}" />
				</td>
			</tr>
		    	<tr>
				<td>
					<span>物资数量：</span>
				</td>
				<td>
					<input name="material_num" id="material_num" value="${Purchaserequest.material_num}" />
				</td>
			</tr>
		    	<tr>
				<td>
					<span>项目ID：</span>
				</td>
				<td>
					<input name="project_id" id="project_id" value="${Purchaserequest.project_id}" />
				</td>
			</tr>
		    <tr>
		    	<td colspan="5"><a onclick="submit()" style="{cursor:hand;}">确认</a></td>
		    </tr>
		</table>
	</body>
	</form>
	<script type="text/javascript">
		function submit(){
			$("#saveForm").submit();
			window.parent.layer.closeAll();
			window.parent.layer.msg("提交成功",'','');
		}
	</script>
</html>
